<% cache do %>
<% @i = 0 %>
<div id="homepage">
  <div>
    <div id="artist_flicker">
		  <%= render :partial => 'home/artist_flicker', :object => @artist  %>				
    </div>
	<p class="large">
    <strong><%= SITE_NAME %></strong> started as a collaboration between technologists and entrepreneurs with a shared mission: to better the lives of traditional artisans.
	</p>
	<p><%= link_to l(:common, 'learn more') + '&raquo;', url_for(:controller => 'home', :action => 'learn_more') %></p>
  </div>
  
	<div id="lists">
		<div class="col2">	
			<div class="left">
				<%= render :partial => '/artworks/show_summaries', :locals => {:name => l(:common, 'learn about our art'), :artworks => @randArt}%>
			</div>
			
			<div id="new_artwork" class="right">
				<%= render :partial => '/artworks/show_summaries', :locals => {:name => l(:common, 'new artwork')+ "<a href=\"/catalogue/rss\"><img style=\"margin-left: 5px; margin-bottom:-2px\" src=\"/images/ico-rss.gif\" alt=\"RSS Feed for product catalog\" title=\"RSS Feed for product catalog\"/></a>", :artworks => @newArt} %>
			</div>
		</div>
	</div>
	
</div>
<% end %>